<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it" dir="ltr">
<head>
<link rel="shortcut icon" href="images/favicon.png" height="16" >
<title>.: {$title} :. {$page}</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<link rel="stylesheet" type="text/css" media="screen" href="css/style.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/calendar.css" />


{if $keypress == "yes"}
<script type="text/javascript" src={$keypress_file}></script>
{/if}

{if $ajax == "yes"}
<script type="text/javascript" src={$ajax_file}></script>
{/if}

<script type="text/javascript">
/* <![CDATA[ */
	var scrOfY = 0;
	var scrOfX = 0;
{literal}
	function _setPosTop(pos) 
	{
		//alert('_setPosTop');
		window.scroll(0,pos);
	}
	
	function _getScrollXY() 
	{
		//alert('_getScrollXY');
		if( typeof( window.pageYOffset ) == 'number' ) 
		{
			//Netscape compliant
			scrOfY = window.pageYOffset;
			scrOfX = window.pageXOffset;
		} 
		else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) 
		{
			//DOM compliant
			scrOfY = document.body.scrollTop;
			scrOfX = document.body.scrollLeft;
		} 
		else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) 
		{
			//IE6 standards compliant mode
			scrOfY = document.documentElement.scrollTop;
			scrOfX = document.documentElement.scrollLeft;
		}
		
		if ( document.main.posLeft )
		{
// 			alert(scrOfX);
			document.main.posLeft.value = scrOfX;
			document.main.posTop.value = scrOfY;
		}
	}
{/literal}
/* ]]> */
</script>

</head>

{if $keypress == "yes"}
<body onKeyPress="keypress(event)" style="background-image: url('images/backLogin.png');">
{else}
<body style="background-image: url('images/backLogin.png');">
{/if}


{if $mod != ""}
<form id="main" name="main" action="Main.php?mod={$mod}&do={$do}{$extra}" method="post" enctype="multipart/form-data">
{else}
<form id="main" name="main" action="Main.php" method="post" enctype="multipart/form-data">
{/if}

<input type="hidden" id="hSessid" name="hSessid" value="{$sessid}" style="display: none;" />

<center>

